<template>
  <view>
    <my-login v-if="!token"></my-login>
    <my-userInfo v-else></my-userInfo>
  </view>
</template>

<script>
  import cartBadge from '@/mixins/cartTabbar-badge.js'
  import {
    mapState
  } from 'vuex'
  export default {
    mixins: [cartBadge],
    data() {
      return {
        
      }
    },
    computed: {
      ...mapState('m_user',['token'])
    },
    methods: {
      
    }
  }
</script>

<style>

</style>
